package net.openvision.music.composition.rules;

import net.openvision.music.composition.LocalRuleSet;


public class RuleSet {
	private ConstructionRule construction;
	private LocalRuleSet localRules;
	private String name;
	
	public RuleSet(String name, ConstructionRule construction) {
		this.name = name;
		this.construction = construction;
		localRules = new LocalRuleSet();
	}
	
	public void add(LocalRule localRule) {
		localRules.add(localRule);
	}
	
	public String getName() {
		return name;
	}
	
	public ConstructionRule getConstructionRule() {
		return construction;
	}
	
	public LocalRuleSet getLocalRules() {
		return localRules;
	}
}
